<?
$tp=  _select_unique_result("select * from task_plan_detail where id_tp_detail='$_GET[id]'");

?>
<form action="index_form.php?page=task_plan/tp-detail-edit-save&id=<?=$_GET['id']?>" method="POST">
    <table>
        <tr>
            <td>Task ID</td><td><input name="ID_tp_detail" value="<?=$tp['ID_tp_detail']?>"/></td>
        </tr>
        <tr>
            <td>Task Name</td><td><input name="name" value="<?=$tp['name']?>"/></td>
        </tr>
        <tr>
            <td>Duration</td><td><input name="duration" value="<?=$tp['duration']?>"/></td>
        </tr>
        <tr>
            <td>Previous Task</td><td><input name="prev" value="<?=$tp['prev']?>"/></td>
        </tr>
        <tr>
            <td>Next Task</td><td><input name="next" value="<?=$tp['next']?>"/></td>
        </tr>
        
    </table>
    <div class="buttonpane">
        <input type="submit" class="uibutton" value="Simpan"/>
    </div>
</form>